package demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2023-08-23  12:19
 */
public class KeyBoard implements USB{
    @Override
    public void openDevice() {
        System.out.println("打开键盘盘！");
    }

    public void input() {
        System.out.println("疯狂敲击键盘!!!");
    }
    @Override
    public void closeDevice() {
        System.out.println("关闭键盘盘！");
    }
}
